const http = uni.$u.http

export const authCode = (params = {}) => http.post('/tool/auth/code', params);

export const getui = (params = {}) => http.post('/v1/getui/clientid', params);

export const appIsUpdate = (params = {}) => http.get('/appConfig/version', {params});